<?php
/*----------------------------------------------------------------------
#Youjoomla Tabs  Carousel 1.5
# ----------------------------------------------------------------------
# Copyright (C) 2007 You Joomla. All Rights Reserved.
# Coded by: NEO
# License: Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
# Website: http://www.youjoomla.com
------------------------------------------------------------------------*/
  defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.');
$title1 = $params->get('title1','');
$tab1modpos = $params->get('tab1modpos','');
$title2 = $params->get('title2','');
$tab2modpos = $params->get('tab2modpos','');
$title3 = $params->get('title3','');
$tab3modpos = $params->get('tab3modpos','');
$title4 = $params->get('title4','');
$tab4modpos = $params->get('tab4modpos','');
$title5 = $params->get('title5','');
$tab5modpos = $params->get('tab5modpos','');
$modheight = $params->get('modheight','200px');
$mootools=$params->get('mootools',"1");

  echo "<!-- http://www.Youjoomla.com  Tabs  Carousel for Joomla 1.5 starts here -->	";
  
  $linktag_tab_karo="<link rel='stylesheet' type='text/css' href='".JURI::base()."/modules/mod_tabs_carousel/mod_tabs_carousel.css'/>\n";


$mainframe->addCustomHeadTag($linktag_tab_karo);
if ($mootools == 1){
  echo "<script type='text/javascript' src='".JURI::base()."/modules/mod_tabs_carousel/mootools.js'></script>\n";
  }else{}
  echo "<script type='text/javascript' src='".JURI::base()."/modules/mod_tabs_carousel/mod_tabs_carousel.js'></script>\n";

?>

<div id="hold_them"><!--hold them -->
<div id="stabs"><div id="stl"><div id="str">
<ul id="navi">
			<li><a id="tablink1" href="#" name="tablink1"><span><?php echo $title1?></span></a></li>
			<li><a id="tablink2" href="#" name="tablink2"><span><?php echo $title2?></span></a></li>
			<li><a id="tablink3" href="#" name="tablink3"><span><?php echo $title3?></span></a></li>
			<li><a id="tablink4" href="#" name="tablink4"><span><?php echo $title4?></span></a></li>
            <li><a id="tablink5" href="#" name="tablink5"><span><?php echo $title5?></span></a></li>
		</ul></div></div></div><!-- end stabs-->
        
        

		
        
        
        
        
        
        
        
        
        
        <div id="slideround" style="height:<?php echo $modheight?>;">
<div id="firstvis" style="height:<?php echo $modheight?>;">
<div id="firstvis_in" style="height:<?php echo $modheight?>;">

<div class="tab-scroll" id="tabin1" style="height:<?php echo $modheight?>;">
<div  class="user">        <?php $tab1_mods = &JModuleHelper::getModules( $tab1modpos );foreach ($tab1_mods as $tabmod1) { echo JModuleHelper::renderModule( $tabmod1, array('style'=>'none')  );}?></div></div>


<div class="tab-scroll" id="tabin2" style="height:<?php echo $modheight?>;">
<div  class="user">        <?php $tab2_mods = &JModuleHelper::getModules( $tab2modpos );foreach ($tab2_mods as $tabmod1) { echo JModuleHelper::renderModule( $tabmod1, array('style'=>'none')  );}?></div></div>


<div class="tab-scroll" id="tabin3" style="height:<?php echo $modheight?>;">
<div  class="user">        <?php $tab3_mods = &JModuleHelper::getModules( $tab3modpos );foreach ($tab3_mods as $tabmod1) { echo JModuleHelper::renderModule( $tabmod1, array('style'=>'none')  );}?></div></div>


<div class="tab-scroll" id="tabin4" style="height:<?php echo $modheight?>;">
<div  class="user">        <?php $tab4_mods = &JModuleHelper::getModules( $tab4modpos );foreach ($tab4_mods as $tabmod1) { echo JModuleHelper::renderModule( $tabmod1, array('style'=>'none')  );}?></div></div>


<div class="tab-scroll" id="tabin5" style="height:<?php echo $modheight?>;">
<div class="user">        <?php $tab5_mods = &JModuleHelper::getModules( $tab5modpos );foreach ($tab5_mods as $tabmod1) { echo JModuleHelper::renderModule( $tabmod1, array('style'=>'none')  );}?></div></div>



</div></div></div></div>
